import service from '@/api/http';

const sportsApi = {
  /*
  游戏平台下拉
  */
  swapNow: (params: object) => service.post(`/hall/playGold/userCoinTransition`, params),
  /*
  游戏平台下拉
  */
  getSportsByChannel: (params: object) => service.post(`/hall/playHall/getSportsByChannel`, params),
  /*
  游戏平台下拉
  */
  getExtendChannelInfo: (params: object) => service.post(`/hall/playChannel/getExtendChannelInfo`, params),
  /*
  游戏平台下拉
  */
  getPlayFree: (params: object) => service.post(`/single/gameUrl/getPlayFree`, params),
  /*
  获取内嵌游戏地址
  */
  thirdUrl: (params: object) => service.post(`/single/gameUrl/list`, params),
};

export default sportsApi;
